package com.pap.rbac.orgation.auto.entity;

import java.io.Serializable;

import com.pap.base.entity.PapBaseEntity;
import com.pap.base.mybatis.plugin.annotation.MyBatisColumnAnnotation;
import com.pap.base.mybatis.plugin.annotation.MyBatisTableAnnotation;

@MyBatisTableAnnotation(name = "t_rbac_organization", namespace = "com.pap.rbac.orgation.auto.mapper.OrganizationMapper", remarks = " 修改点 ", aliasName = "t_rbac_organization t_rbac_organization" )
public class Organization extends PapBaseEntity implements Serializable {
    /**
     *  业务编码,所属表字段为t_rbac_organization.CODE
     */
    @MyBatisColumnAnnotation(name = "CODE", value = "t_rbac_organization_CODE", chineseNote = "业务编码", tableAlias = "t_rbac_organization")
    private String code;

    /**
     *  名称,所属表字段为t_rbac_organization.NAME
     */
    @MyBatisColumnAnnotation(name = "NAME", value = "t_rbac_organization_NAME", chineseNote = "名称", tableAlias = "t_rbac_organization")
    private String name;

    /**
     *  编号路径集合,所属表字段为t_rbac_organization.PATH_IDS
     */
    @MyBatisColumnAnnotation(name = "PATH_IDS", value = "t_rbac_organization_PATH_IDS", chineseNote = "编号路径集合", tableAlias = "t_rbac_organization")
    private String pathIds;

    /**
     *  业务编码路径集合,所属表字段为t_rbac_organization.PATH_CODES
     */
    @MyBatisColumnAnnotation(name = "PATH_CODES", value = "t_rbac_organization_PATH_CODES", chineseNote = "业务编码路径集合", tableAlias = "t_rbac_organization")
    private String pathCodes;

    /**
     *  名称路径集合,所属表字段为t_rbac_organization.PATH_NAMES
     */
    @MyBatisColumnAnnotation(name = "PATH_NAMES", value = "t_rbac_organization_PATH_NAMES", chineseNote = "名称路径集合", tableAlias = "t_rbac_organization")
    private String pathNames;

    /**
     *  父级节点编号,所属表字段为t_rbac_organization.PARENT_ID
     */
    @MyBatisColumnAnnotation(name = "PARENT_ID", value = "t_rbac_organization_PARENT_ID", chineseNote = "父级节点编号", tableAlias = "t_rbac_organization")
    private String parentId;

    /**
     *  省份编号,所属表字段为t_rbac_organization.PROVINCE_ID
     */
    @MyBatisColumnAnnotation(name = "PROVINCE_ID", value = "t_rbac_organization_PROVINCE_ID", chineseNote = "省份编号", tableAlias = "t_rbac_organization")
    private String provinceId;

    /**
     *  省份名称,所属表字段为t_rbac_organization.PROVINCE_NAME
     */
    @MyBatisColumnAnnotation(name = "PROVINCE_NAME", value = "t_rbac_organization_PROVINCE_NAME", chineseNote = "省份名称", tableAlias = "t_rbac_organization")
    private String provinceName;

    /**
     *  市级编号,所属表字段为t_rbac_organization.CITY_ID
     */
    @MyBatisColumnAnnotation(name = "CITY_ID", value = "t_rbac_organization_CITY_ID", chineseNote = "市级编号", tableAlias = "t_rbac_organization")
    private String cityId;

    /**
     *  市级名称,所属表字段为t_rbac_organization.CITY_NAME
     */
    @MyBatisColumnAnnotation(name = "CITY_NAME", value = "t_rbac_organization_CITY_NAME", chineseNote = "市级名称", tableAlias = "t_rbac_organization")
    private String cityName;

    /**
     *  区域编号,所属表字段为t_rbac_organization.AREA_ID
     */
    @MyBatisColumnAnnotation(name = "AREA_ID", value = "t_rbac_organization_AREA_ID", chineseNote = "区域编号", tableAlias = "t_rbac_organization")
    private String areaId;

    /**
     *  区域名称,所属表字段为t_rbac_organization.AREA_NAME
     */
    @MyBatisColumnAnnotation(name = "AREA_NAME", value = "t_rbac_organization_AREA_NAME", chineseNote = "区域名称", tableAlias = "t_rbac_organization")
    private String areaName;

    /**
     *  详细地址,所属表字段为t_rbac_organization.DETAIL_ADDRESS
     */
    @MyBatisColumnAnnotation(name = "DETAIL_ADDRESS", value = "t_rbac_organization_DETAIL_ADDRESS", chineseNote = "详细地址", tableAlias = "t_rbac_organization")
    private String detailAddress;

    /**
     *  可用状态标示,所属表字段为t_rbac_organization.DISABLE_FLAG
     */
    @MyBatisColumnAnnotation(name = "DISABLE_FLAG", value = "t_rbac_organization_DISABLE_FLAG", chineseNote = "可用状态标示", tableAlias = "t_rbac_organization")
    private String disableFlag;

    /**
     *  备注字段,所属表字段为t_rbac_organization.REMARK
     */
    @MyBatisColumnAnnotation(name = "REMARK", value = "t_rbac_organization_REMARK", chineseNote = "备注字段", tableAlias = "t_rbac_organization")
    private String remark;

    private static final long serialVersionUID = 1L;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPathIds() {
        return pathIds;
    }

    public void setPathIds(String pathIds) {
        this.pathIds = pathIds;
    }

    public String getPathCodes() {
        return pathCodes;
    }

    public void setPathCodes(String pathCodes) {
        this.pathCodes = pathCodes;
    }

    public String getPathNames() {
        return pathNames;
    }

    public void setPathNames(String pathNames) {
        this.pathNames = pathNames;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(String provinceId) {
        this.provinceId = provinceId;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getAreaId() {
        return areaId;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getDetailAddress() {
        return detailAddress;
    }

    public void setDetailAddress(String detailAddress) {
        this.detailAddress = detailAddress;
    }

    public String getDisableFlag() {
        return disableFlag;
    }

    public void setDisableFlag(String disableFlag) {
        this.disableFlag = disableFlag;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    
	@Override
	public String getDynamicTableName() {
		return "t_rbac_organization";
	}

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", code=").append(code);
        sb.append(", name=").append(name);
        sb.append(", pathIds=").append(pathIds);
        sb.append(", pathCodes=").append(pathCodes);
        sb.append(", pathNames=").append(pathNames);
        sb.append(", parentId=").append(parentId);
        sb.append(", provinceId=").append(provinceId);
        sb.append(", provinceName=").append(provinceName);
        sb.append(", cityId=").append(cityId);
        sb.append(", cityName=").append(cityName);
        sb.append(", areaId=").append(areaId);
        sb.append(", areaName=").append(areaName);
        sb.append(", detailAddress=").append(detailAddress);
        sb.append(", disableFlag=").append(disableFlag);
        sb.append(", remark=").append(remark);
        sb.append("]");
        return sb.toString();
    }
}